<?php
namespace app\validate;

use think\Validate;

class Word extends Validate {
    protected $rule = [
        'word'  =>  'unique:word,word'
    ];
    protected $message = [
        'word.unique' => 'Uniqueness Violation: Word'
    ];
}